export default [
	// Create a print order
	{
		name: 'post_orders',
		base: {
			url: '/api/orders',
			method: 'post',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
		}
	},
	// Update a print order
	{
		name: 'patch_orders',
		base: {
			url: '/api/orders',
			method: 'patch',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
		}
	},
	// Query my print orders
	{
		name: 'get_orders_my',
		base: {
			url: '/api/orders/my',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
		}
	},
	// Find my print order by Id
	{
		name: 'get_orders_my',
		base: {
			url: '/api/orders/{id}',
			method: 'get',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	// Delet a print order
	{
		name: 'delete_orders_my',
		base: {
			url: '/api/orders/{id}',
			method: 'delete',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
			replaceid: true
		}
	},
	// Calculate print costs
	{
		name: 'post_orders_calc_print_costs',
		base: {
			url: '/api/orders/calc-print-costs',
			method: 'post',
			headers: {
			},

			// 默认数据
			data: {
			},

		},
		config: {
		}
	},
]